package cn.pzhu.java.ch03.encapsulation;

public class TestMain1 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String inputPassword = "123";
		BankAccount1 act = new BankAccount1("ACT001", "123");
		act.desposit(100);
		act.queryBalance(inputPassword);
		act.withdraw(inputPassword, -50);
		act.withdraw("dfsfdsfs", 50);
		act.withdraw(inputPassword, 50);
		act.withdraw(inputPassword, 500);
		act.queryBalance(inputPassword);
		// System.out.println(act.balance);
		
	}

}
